import request from "./request.js"; 
export function UserCouponCount(){
    return request.get("/market/api/user/coupon/count")
    // return request.get("/api/user/coupon/count")
} 
export function UserPoint(){
    return request.get("/market/api/user/point/get")
} 
export function CouponList(data){
    return request.post("/market/api/coupon/page",data)
    // return request.post("/api/coupon/page",data)
} 
export function GetCoupon(data){
    return request.post("/market/api/user/coupon/add",data)
}
// 查询优惠卷列表
export function UserCouponList(data){
    return request.post("/market/api/user/coupon/page",data)
    // return request.post("/api/coupon/page",data)
} 
export function CouponAmount(data){
    return request.post("/market/api/user/coupon/ids/coupon/amount",data)
} 